encoding/base64.decoder.nbuf (field)
13 uses
encoding/base64 (current package)
base64.go#L438: nbuf int
base64.go#L458: for d.nbuf < 4 && d.readErr == nil {
base64.go#L466: nn, d.readErr = d.r.Read(d.buf[d.nbuf:nn])
base64.go#L467: d.nbuf += nn
base64.go#L470: if d.nbuf < 4 {
base64.go#L471: if d.enc.padChar == NoPadding && d.nbuf > 0 {
base64.go#L474: nw, d.err = d.enc.Decode(d.outbuf[:], d.buf[:d.nbuf])
base64.go#L475: d.nbuf = 0
base64.go#L487: if d.err == io.EOF && d.nbuf > 0 {
base64.go#L494: nr := d.nbuf / 4 * 4
base64.go#L495: nw := d.nbuf / 4 * 3
base64.go#L504: d.nbuf -= nr
base64.go#L505: copy(d.buf[:d.nbuf], d.buf[nr:])
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |